package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
/**
    * 桌号预定表
    */
@Data
@TableName(value = "table_reserve")
public class TableReserve {
    /**
     * 预定id
     */
    @TableId(value = "reserve_id", type = IdType.ASSIGN_ID)
    private Long reserveId;

    /**
     * 订单编号
     */
    @TableField(value = "order_number")
    private String orderNumber;

    /**
     * 下单时间
     */
    @TableField(value = "order_time")
    private Date orderTime;

    /**
     * 就餐时间
     */
    @TableField(value = "dine_time")
    private Date dineTime;

    /**
     * 过期时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 就餐人数
     */
    @TableField(value = "persons")
    private Integer persons;

    /**
     * 下单用户
     */
    @TableField(value = "username")
    private String username;

    /**
     * 下单用户手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 订单状态: 1代表未处理, 0代表已处理
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 伪删除:1代表没删除, 0代表删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    public static final String COL_RESERVE_ID = "reserve_id";

    public static final String COL_ORDER_NUMBER = "order_number";

    public static final String COL_ORDER_TIME = "order_time";

    public static final String COL_DINE_TIME = "dine_time";

    public static final String COL_END_TIME = "end_time";

    public static final String COL_PERSONS = "persons";

    public static final String COL_USERNAME = "username";

    public static final String COL_PHONE = "phone";

    public static final String COL_STATUS = "status";

    public static final String COL_IS_DELETE = "is_delete";
}